<?php
 $filePath	= "../".trim($_GET['filePath']);


if ( is_file($filePath) )
{

	@unlink($filePath);

	echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<script>
	alert('删除成功！');\n

	</script>";
}
else
{

	echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<script>
	alert('删除错误$filePath，可能文件不存在或者已经删除！');\n

	</script>";
}
?>